﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Globalization;

namespace ECube.SEC.FormsAuthentication.Models
{

    [PropertiesMustMatch("Password", "PasswordConfirm", ErrorMessage = "The password and confirmation password do not match.")]
    public class UserChangePasswordInput
    {
        public UserChangePasswordInput()
        { 
        }
        public UserChangePasswordInput(string password, string passwordConfirm)
        {
            Password = password;
            PasswordConfirm = passwordConfirm;
        }
        [Required]
        public string Password { get; set; }
        [Required]
        public string PasswordConfirm { get; set; }
    }
   
}
